package com.xiaoq.ar.vo;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Created by chenjh on 2018/5/2.
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE, setterVisibility = JsonAutoDetect.Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class NearAreaVo implements Serializable {
    private static final long serialVersionUID = 2054789835438037145L;

    @ApiModelProperty(name = "id", value = "景区或者景点id", position=0)
    private String id;

    //10:目的地,20:景区,30:门票,40:活动,50:头条
    @ApiModelProperty(name = "type", value = "20：景区，60：景点, 70：必吃", position=10)
    private int type;

    @ApiModelProperty(name = "longitude", value = "经度", position=20)
    private double longitude;

    @ApiModelProperty(name = "latitude", value = "纬度", position=30)
    private double latitude;

    @ApiModelProperty(name = "name", value = "景点或景区名称或必吃", position=40)
    private String name;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
